hScroll
Type
property
Summary
Specifies the horizontal scroll of a field or group.
Syntax
set the hScroll of {<field> | <group>} to <pixels>
Description
Use the hScroll property to scroll a field or group horizontally, or to check how far it's been scrolled.
The hScroll is the amount in pixels the object has been scrolled to the right. If the hScroll is zero, the object has not been scrolled.
Setting the hScroll of a field or group causes a scrollbarDrag message to be sent.
Examples
set the hScroll of field "Wasps" to the width of field "Wasp"
Related
property: hScrollbar, pixels, formattedWidth
command: group
constant: scrollbarFactor
glossary: object, property, message, group
message: scrollbarDrag
Compatibility and Support
Introduced
LiveCode 1.0
OS
mac
windows
linux
ios
android
Platforms
desktop
server
mobile